
public class Student {
	private String name;
	private long id;
	private String overall;
	private int[] grades;
	public Student(long id, String name, String overall, int[]grades) {
		this.name=name;
		this.id=id;
		this.overall = overall;
		this.grades = new int[grades.length];
		for (int i=0;i<grades.length;i++) this.grades[i]=grades[i];
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getOverall() {
		return overall;
	}
	public void setOverall(String overall) {
		this.overall = overall;
	}
	public int[] getGrades() {
		return grades;
	}
	public void setGrades(int[] grades) {
		this.grades = new int[grades.length];
		for (int i=0;i<grades.length;i++) this.grades[i]=grades[i];
	}
	// needs toString()
	// needs compareTo(Student x)
}
